package com.gitee.dolt.security.model;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author LYH
 */
@Data
@Accessors(chain = true)
public class SysToken implements Serializable {
    private static final long serialVersionUID = -8482946147572784305L;
    /**
     * token
     */
    private String token;

    /**
     * token类型
     */
    private String tokenType;

    /**
     * 有效时间：单位：秒
     */
    private Long expire;

    /**
     * 到期时间
     */
    private LocalDateTime expiration;
}
